enableTransparentBackground

public abstract void enableTransparentBackground()

Enables transparent background on the web pages. By default, the background is always opaque.

This method supports only the OFF_SCREEN rendering mode on Windows and Linux, and the both rendering modes on macOS. Throws an exception if the current rendering mode is not supported.

Since

7.2

Throws

when the current browser is already closed

when the current rendering mode is not supported